package com.tbit.uqbike.object.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 活动详细(Eventdetail)实体类
 *
 * @author jing
 * @since 2020-12-30 18:49:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Eventdetail implements Serializable {
    private static final long serialVersionUID = 777167687757153228L;
    /**
     * 详细id
     */
    private Integer detailId;
    /**
     * 优惠券id
     */
    private Integer UserCouponId;

    private String UserCouponName;
    /**
     * 赠送张数
     */
    private Integer userNum;
    /**
     * 老用户赠送优惠券id
     */
    private Integer oldCouponId;
    private String oldCouponName;

    /**
     * 老用户赠送优惠券张数
     */
    private Integer oldNum;

    public Eventdetail(Integer userCouponId, Integer userNum, Integer oldCouponId, Integer oldNum) {
        this.UserCouponId = userCouponId;
        this.userNum = userNum;
        this.oldCouponId = oldCouponId;
        this.oldNum = oldNum;
    }

    public Eventdetail(Integer detailId, Integer userCouponId, Integer userNum, Integer oldCouponId, Integer oldNum) {
        this.detailId = detailId;
        UserCouponId = userCouponId;
        this.userNum = userNum;
        this.oldCouponId = oldCouponId;
        this.oldNum = oldNum;
    }
}